package org.csu.service.imp;

import org.csu.dao.BookDao;
import org.csu.dao.UserDao;
import org.csu.entity.*;
import org.csu.service.BookBorrowService;
import org.csu.validator.ValidationResult;
import org.csu.vo.BaseResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service(value="bookBorrowService")
public class BookBorrowServiceImp implements BookBorrowService {
    private BookDao bookDao;

    @Override
    public String searchBooks(BookQuery query, Integer pageNum) {
        return "";
    }

    @Override
    public ResponseEntity<BaseResponse<BorrowResult>> borrowBook(BorrowRequest request) {
        return null;
    }

    @Override
    public String getBorrowingList(Integer pageNum) {
        return "";
    }

    @Override
    public ResponseEntity<BaseResponse<Boolean>> applyReturn(Integer bookId) {
        return null;
    }

    @Override
    public ResponseEntity<BaseResponse<Boolean>> confirmReturn(Integer bookId) {
        return null;
    }

    @Override
    public ValidationResult validateBorrowRequest(BorrowRequest request) {
        return null;
    }

    @Override
    public BorrowOperationResult processBookBorrow(Integer bookId, Integer userId) {
        return null;
    }

    @Override
    public Boolean processBookReturn(Integer bookId) {
        return null;
    }


}
